<?php

use Illuminate\Database\Seeder;

class GoodsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('goods')->insert([

            ['goods_sn' => 'nk-000001', 'gname' => 'test nike 男鞋 1', 'bid' => 1, 'sid' => 1, 'price' => 99, 'unit' => '双', 'pic' => 'images/1.jpg', 'launch_time' => 1506045035, 'created_at' => date('Y-m-d H:i:s'), 'updated_at' => date('Y-m-d H:i:s') ],
            ['goods_sn' => 'nk-000002', 'gname' => 'test nike 男鞋 2', 'bid' => 1, 'sid' => 1, 'price' => 222, 'unit' => '双', 'pic' => 'images/2.jpg', 'launch_time' => 1506045635, 'created_at' => date('Y-m-d H:i:s'), 'updated_at' => date('Y-m-d H:i:s') ],
            ['goods_sn' => 'nk-000003', 'gname' => 'test nike 女鞋 1', 'bid' => 1, 'sid' => 2, 'price' => 333, 'unit' => '双', 'pic' => 'images/3.jpg', 'launch_time' => 1506046235, 'created_at' => date('Y-m-d H:i:s'), 'updated_at' => date('Y-m-d H:i:s') ],
            ['goods_sn' => 'nk-000004', 'gname' => 'test nike 女鞋 2', 'bid' => 1, 'sid' => 2, 'price' => 555.55, 'unit' => '双', 'pic' => 'images/4.jpg', 'launch_time' => 1506046835, 'created_at' => date('Y-m-d H:i:s'), 'updated_at' => date('Y-m-d H:i:s') ],
            ['goods_sn' => 'nk-000005', 'gname' => 'test nike 童鞋 1', 'bid' => 1, 'sid' => 3, 'price' => 666.66, 'unit' => '双', 'pic' => 'images/5.jpg', 'launch_time' => 1506047435, 'created_at' => date('Y-m-d H:i:s'), 'updated_at' => date('Y-m-d H:i:s') ],
            ['goods_sn' => 'nk-000006', 'gname' => 'test nike 童鞋 2', 'bid' => 1, 'sid' => 3, 'price' => 777.77, 'unit' => '双', 'pic' => 'images/6.jpg', 'launch_time' => 1506048035, 'created_at' => date('Y-m-d H:i:s'), 'updated_at' => date('Y-m-d H:i:s') ],

            ['goods_sn' => 'ad-000001', 'gname' => 'test adidas 男鞋 1', 'bid' => 2, 'sid' => 1, 'price' => 133, 'unit' => '双', 'pic' => 'images/7.jpg', 'launch_time' => 1506048635, 'created_at' => date('Y-m-d H:i:s'), 'updated_at' => date('Y-m-d H:i:s') ],
            ['goods_sn' => 'ad-000002', 'gname' => 'test adidas 男鞋 2', 'bid' => 2, 'sid' => 1, 'price' => 999, 'unit' => '双', 'pic' => 'images/8.jpg', 'launch_time' => 1506049235, 'created_at' => date('Y-m-d H:i:s'), 'updated_at' => date('Y-m-d H:i:s') ],
            ['goods_sn' => 'ad-000003', 'gname' => 'test adidas 女鞋 1', 'bid' => 2, 'sid' => 2, 'price' => 288, 'unit' => '双', 'pic' => 'images/8.jpg', 'launch_time' => 1506049235, 'created_at' => date('Y-m-d H:i:s'), 'updated_at' => date('Y-m-d H:i:s') ],


            
        ]);
    }
}
